package com.apes.framework.plugin.mq.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "MQueueBak")
public class MQueueBak {

    @Id  // 主键
    private String id; //消息编号
    private String topic; //消息主题
    private String description; //主题描述
    private String body; //消息
    private int state;//0:未消费；1：报错；2：已消费
    private String error;//错误消息
    private String created;  //消息创建时间
    private String ended;  //消息最后消费时间
    private int times; //消费次数
    private String next; //下次执行时间
}
